import NProgress from "nprogress"; // 导入 nprogress
import "nprogress/nprogress.css";

NProgress.configure({
  showSpinner: true, //是否显示加载icon
  easing: "ease", //动画方式
  speed: 500, //递增进度条的速度
  trickleSpeed: 200, //自动递增间隔,
  minimum: 0.3,
}); // 显示右上角螺旋加载提示

export default NProgress;
